<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>datenum</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 31/08/2004</div>
    <p>
      <b>datenum</b> - Convert to serial date
  number</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>N = datenum()</tt>
      </dd>
      <dd>
        <tt>N = datenum(DT) </tt>
      </dd>
      <dd>
        <tt>N = datenum(Y, M, D) </tt>
      </dd>
      <dd>
        <tt>N = datenum(Y, M, D, H, MI, S)
    </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>The datenum function converts date vectors (defined by datevec) into
    serial date numbers. Date numbers are serial days elapsed from some
    reference date. By default, the serial day 1 corresponds to
    1-Jan-0000.</p>
    <p>N = datenum() returns the serial date numbers corresponding to current
    date.</p>
    <p>N = datenum(Y, M, D) returns the serial date numbers for corresponding
    elements of the Y, M, and D (year, month, day) arrays. </p>
    <p>N = datenum(Y, M, D, H, MI, S) returns the serial date numbers for
    corresponding elements of the Y, M, D, H, MI, and S (year, month, day,
    hour, minute, and second) array values.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>datenum()

datenum(1973,8,4) 

 </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="datevec.htm">
        <tt>
          <b>datevec</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="calendar.htm">
        <tt>
          <b>calendar</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b></b>A.C</dd>
    </dl>
  </body>
</html>
